package com.biz.primus.ms.search.stream;

import com.biz.primus.base.constant.DepotStreamConstant;
import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * DepotUpdateSink
 *
 * @author JKLiues
 * @date 2017年11月18日
 */
public interface DepotUpdateSink {

    @Input(DepotStreamConstant.DEPOT_CHANGE)
    SubscribableChannel change();

    @Input(DepotStreamConstant.DEPOT_CHANGE_ALL)
    SubscribableChannel changeAll();
}